//
//  BKPlace.h
//  XPhoto
//
//  Created by baboy on 2019/6/21.
//  Copyright © 2019 baboy. All rights reserved.
//

#import "Model.h"
#import <BKKit/BKApi.h>

NS_ASSUME_NONNULL_BEGIN

@interface BKPlace : Model
@property(nonatomic, strong) NSString *name;
@property(nonatomic, strong) NSString *addr;
@property(nonatomic, strong) NSString *provinceName;
@property(nonatomic, strong) NSString *cityName;
@property(nonatomic, strong) NSString *districtName;
@property(nonatomic, strong) NSString *location;
@property(nonatomic, strong) NSString *lng; //经度
@property(nonatomic, strong) NSString *lat; //维度
+(id)search:(nullable NSString*)keyword withLocation:( nullable NSString*)location radius:(NSInteger)radius page:(NSInteger) page callback:(nullable void (^)(id _Nonnull task, id _Nullable json, NSError * _Nullable error))callback;
@end

NS_ASSUME_NONNULL_END
